package com.ruoyi.test.aspect;

import org.springframework.stereotype.Component;

@Component
public class WomanImpl implements IPerson {
    @Override
    public void takeAWash() {
        System.out.println(new Throwable().getStackTrace()[0]);
        // 洗脸、洗头、护发、洗身体、擦干身体、护肤
        System.out.println("洗脸");
        System.out.println("洗头");
        System.out.println("护发");
        System.out.println("洗身体");
        System.out.println("擦干身体");
        System.out.println("护肤");
    }
}
